﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Trade.Model
{
    public class CustomerInfo
    {
        private string customerNo;
        private string customerName;
        private string shortName;
        private string contact;
        private string contactTitle;
        private string tel;
        private string mobile;
        private string fax;
        private string address;
        private string zipCode;
        private string bankAccount;
        private string bank;
        private decimal credit;
        private int creditPeriod;
        private string taxAccount;
        private string region;
        private int customerType;
        private string remark;
        private int recordId;

        public CustomerInfo()
        { 
        }

        public CustomerInfo(string customerNo, string customerName, string shortName, string contact, string contactTitle, string tel, string mobile, string fax, string address, string zipCode, string bankAccount, string bank, decimal credit, int creditPeriod, string taxAccount, string region, int customerType, string remark, int recordId)
        {
            this.customerNo = customerNo;
            this.customerName = customerName; ;
            this.shortName = shortName;
            this.contact = contact;
            this.contactTitle = contactTitle;
            this.tel = tel;
            this.mobile = mobile;
            this.fax = fax;
            this.address = address;
            this.zipCode = zipCode;
            this.bankAccount = bankAccount;
            this.bank = bank;
            this.credit = credit;
            this.creditPeriod = creditPeriod;
            this.taxAccount = taxAccount;
            this.region = region;
            this.customerType = customerType;
            this.remark = remark;
            this.recordId = recordId;
        }

        public string CustomerNo
        { 
            get { return customerNo; }
            set { customerNo = value; }
        }

        public string CustomerName
        {
            get { return customerName; }
            set { customerName = value; }
        }

        public string ShortName
        {
            get { return shortName; }
            set { shortName = value; }
        }

        public string Contact
        {
            get { return contact; }
            set { contact = value; }
        }

        public string ContactTitle
        {
            get { return contactTitle; }
            set { contactTitle = value; }
        }

        public string Tel
        {
            get { return tel; }
            set { tel = value; }
        }

        public string Mobile
        {
            get { return mobile; }
            set { mobile = value; }
        }

        public string Fax
        {
            get { return fax; }
            set { fax = value; }
        }

        public string Address
        {
            get { return address; }
            set { address = value; }
        }

        public string ZipCode
        {
            get { return zipCode; }
            set { zipCode = value; }
        }

        public string BankAccount
        {
            get { return bankAccount; }
            set { bankAccount = value; }
        }

        public string Bank
        {
            get { return bank; }
            set { bank = value; }
        }

        public decimal Credit
        {
            get { return credit; }
            set { credit = value; }
        }

        public int CreditPeriod
        {
            get { return creditPeriod; }
            set { creditPeriod = value; }
        }

        public string TaxAccount
        {
            get { return taxAccount; }
            set { taxAccount = value; }
        }

        public string Region
        {
            get { return region; }
            set { region = value; }
        }

        public int CustomerType
        {
            get { return customerType; }
            set { customerType = value; }
        }

        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }

        public int RecordId
        {
            get { return recordId; }
            set { recordId = value; }
        }
    }
}
